package designPattern.factory工厂模式.simpleFactory;

public class Consumer {

    public static void main(String[] args) {
        Car car = CarFactory.getCar("Tesla");
        car.name();
    }
}
